<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>"></base>

    <title>角色分配</title>
    <!--框架必需start-->
	<script type="text/javascript" src="<%=basePath%>libs/js/jquery.js"></script>
	<script type="text/javascript" src="<%=basePath%>libs/js/framework.js"></script>
	<link href="<%=basePath%>libs/css/import_basic.css" rel="stylesheet" type="text/css"/>
	<link rel="stylesheet" type="text/css" id="skin" prePath="<%=basePath%>"/>
	<link rel="stylesheet" type="text/css" id="customSkin"/>
	<!--框架必需end-->
	<script language="javascript">
        function selectAll(obj) {
            var checkboxes = document.getElementsByTagName("input");
            for (var i = 0; i < checkboxes.length; i++) {
                checkboxes[i].checked = obj.checked;
            }
        }
    </script>
    <style type="text/css">
    ul, li{ margin:0px; padding:0px;}
    ul,li,span,input,legend,fieldset,a{font-family:宋体,sans-serif,Verdana,Tahoma,Helvetica,sans-serif,Arial;font-size: 12px}
   	.hortablist{width:1000px;border-collapse:collapse;border:1px solid #67aaa8;margin:0px auto;display:block}
	.hortablist tr th{font-size:14px;line-height:180%;padding:3px}
	.hortablist tr td{text-align:left;vertical-align:top;line-height:180%}
	.hortablist tr td div{
		padding:0px;margin:0px auto;border:0;
	}
	.hortablist tr td div ul{
		list-style-type:none;margin:0px auto;padding:0px;clear:both;border-bottom:1px solid #d5d5d5;
	}
	.hortablist tr td div ul li{
		margin:0px auto;padding:0px;border:0;float:left;text-align:left;border-left:1px solid #d5d5d5;
	}
    </style>
  </head>
<body>
<div id="scrollContent" style="text-align:center;margin:0px auto;">
	<s:form action="Userrole_assgin.action" method="POST" name="form1" id="form1">
	<s:hidden name="id"></s:hidden>
	<table border="0" cellspacing="0" cellpadding="0" class="hortablist">
		<tr><th style="background-color:#eef5f5">角色权限指派</th></tr>
		<tr>
			<th>导航栏目     <input type="checkbox" value="all" onclick="selectAll(this)"/><font style="color:#ff6600">全选</font></th>
		</tr>
		<tr>
			<td>
				<div>
					<s:property value="sbpurview.toString()" escapeHtml="false"/>
				</div>
			</td>
		</tr>
		<tr><th colspan="3">
		<s:submit cssClass="button" value="提交" onmouseover="this.className='buttonrevert'" onmouseout="this.className='button'" />
		<input type="button" name="Button" value="返回" class="button" onmouseover="this.className='buttonrevert'" onmouseout="this.className='button'" onclick="javascript:history.go(-1)"/>		
		</th></tr>
	</table>
	 </s:form>	
</div>	  
  </body>
</html>